import {tableOptBtnConfig} from "../table";

export default {
  "tableId": "genCommParam",
  "name": "通用方法参数",
  "columns": [
    {
      label: '参数key',
      children: [
        {
          key: 'paramKey',
        },
      ]
    },
    {
      label: '参数别名',
      children: [
        {
          key: 'paramAlias',
        },
      ]
    },
    {
      label: '数据类型',
      children: [
        {
          key: 'dataType',
        }
      ],
    },
    {
      label: '参数存储键',
      width: 120,
      children: [
        {
          key: 'storeKey',
        }
      ],
    },
    {
      label: '参数可选值',
      width: 200,
      children: [
        {
          key: 'enumListText',
          html: true,
        }
      ],
    },
    {
      label: '备注',
      children: [
        {
          key: 'remarks',
        }
      ],
    },
    {
      "label": "操作",
      "operation": true,
      "width": 220,
      "children": [
        {
          "button": true,
          type: tableOptBtnConfig.edit.type,
        },
        {
          "button": true,
          type: tableOptBtnConfig.copy.type,
          class: 'hover-success',
        },
        {
          "button": true,
          type: tableOptBtnConfig.delete.type,
          class: 'hover-danger',
        }
      ]
    }
  ],
  "filters": []
}
